package cn.iocoder.yudao.module.resource.convert.audio.command;

import cn.iocoder.yudao.module.resource.api.model.AudioCommandDTO;
import cn.iocoder.yudao.module.resource.dal.dataobject.audiocommand.AudioCommandDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 语音指令配置 Convert
 *
 * @author cai
 */
@Mapper
public interface AudioCommandConvert {

    AudioCommandConvert INSTANCE = Mappers.getMapper(AudioCommandConvert.class);

    AudioCommandDTO convert(AudioCommandDO bean);

    List<AudioCommandDTO> convertList(List<AudioCommandDO> list);

}
